{layout name="layout/layout" /}
<div class="king-content-wrap">
    <div class="king-layout1-content" style="margin-top: 0;margin-left:0;">
    <ol class="breadcrumb">
	    <li><span>权限管理</span></li>
	    <li><span>权限编辑</span></li>
	</ol>
	<div class="panel panel-default m20">
        <div class="panel-body">
			<form action="{:Url('Right/editRule')}" method="post" id="form" class="box_left top30">
				<div class="form-group">
					<label class="label_name">名称</label>
					<input class="form-control" type="text" name="title" value={$item.title} />
				</div>
                <div class="form-group">
					<label class="label_name">标识</label>
					<input class="form-control" type="text" name="name" value={$item.name} />
				</div>
				<div class="form-group">
					<label class="label_name">状态</label>
					<div class="checkbox ">
						<input type="radio" {if $item['status']}checked="checked"{/if} name="status" value="1" />正常
						<input type="radio" {if $item['status'] == 0}checked="checked"{/if} name="status" value="0" />禁用
					</div>
				</div>
				<div class="form-group">
                    <input type="hidden" name="id" value="{$item.id}" />
					<input type="submit" class="btn btn-primary" value="确认" />
				</div>
			</form>
		</div>
	</div>
</div>
